<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   <script>
       let a=1;
       let b=2;
       console.log( a>b);//false
       console.log(b>=a);//true



       let n1=12;
       let n2="12";
       console.log(a==b);//true,类型不一样也可以相等
       console.log(a===b);//不仅比较数值，还要比较类型,严格的比较判断
  
       //转换类型
       let str="250";
        let str1= parseInt(str);
        console.log(typeof str1); //number
   </script>
</body>
</html>